home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
matrix.arc
/
M_DUMP.C
< prev
next >
Wrap
C/C++ Source or Header
|
1985-01-13
|
4KB
|
19 lines
static char *sccsid = "@(#)m_dump.c 4/6/82 (U of Maryland, FLB)";
#include "mat.h"
struct matrix *
m_dump(mat)
register struct matrix *mat;
{
register int row, col;
printf("%d X %d\n", mat->m_rows, mat->m_cols);
for (row = 0; row < mat->m_rows; row++) {
for (col = 0; col < mat->m_cols; col++)
printf("%f, ", m_v(mat, row, col));
putchar('\n');
}
}